FROM mindcollapse/malware-multi-scan-scanner:latest

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install -y clamav clamav-daemon
RUN freshclam --quiet

ENV BackendType=Clamav

ENTRYPOINT /etc/init.d/clamav-daemon start && /worker/MalwareMultiScan.Scanner